package page;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;

import utility.Log;

public class page_dashboard {
	
	
	public static WebElement lnkUser(WebDriver d) {
		e = d.findElement(By.xpath("//span[@class='user-name']"));
		Log.info("found link user");
		return e;
	}
	
	public static WebElement lnkSignOut(WebDriver d) {
		e = d.findElement(By.xpath("//a[text()='Sign Out']"));
		Log.info("found link sign out");
		return e;
	}
	
	private static WebElement e = null;
//	private static String lnkUser = "//span[@class='user-name']";
//	private static String lnkSignOut = "//a[text()='Sign Out']";
}
